<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250" />
  <meta name="generator" content="PSPad editor, www.pspad.com" />
  <title>Antz toolkit - installation guide</title>
  </head>
  <body>
<h1>2 steps to implementing Antz toolkit</h1>
<ol>
	<li style="list-style-type: decimal">
		<h2>Include head content</h2>
		<p>Antz toolkit links a javascript file "AntzBase.js", which contains useful functions, especially
		those for displaying error and success messages. The file "messages.css" is also linked for styling
		these messages.</p>
		<p>To do this, simply place the following code into the <strong>head</strong> of your templates,
        and above the {stylesheet} tag so you can override the CSS declarations without needing to edit
        the css files:</p>
		<p><code>
		{cms_module module="Antz" action="head"}
		</code></p>
	</li>
	<li style="list-style-type: decimal">
		<h2>Display system messages</h2>
		<p>First you must enter this code into your templates at the very place you wish the messages
		to be displayed:</p>
		<p><code>
		&lt;body&gt;<br>
		{cms_module module="Antz" action="mark_message_position"}<br>
		(content tag, cms_module tags, cusom tags, left and right column etc go here ....)<br>
		{cms_module module="Antz" action="show_messages"}<br>
		&lt;/body&gt;<br>
		</code></p>
		<p>The important thing to notice in the code above, is that the mark_message_position
		action defines the position in your template where system messages will display.
		The show_messages action tells the Antz module to insert the system messages into
		the template at your marked position. It is important that show_messages is called
		after all tags have been executed, because it only displays messages that have already
		been added to the message stack.
		</p>
		
	</li>
</ol>

</body>
</html>
